home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Applications / Cheat II / original / main.h < prev    next >
Text File  |  1995-01-28  |  520b  |  26 lines

  1. // main.h
  2.  
  3. #define ksizelong 0
  4. #define ksizeint 1
  5. #define ksizebyte 2
  6.  
  7. #define kfindselect 0
  8. #define kfindinterrupt 1
  9.  
  10. typedef struct {
  11.     int expertoptions, shouldpatchbutt;
  12. } preftype;
  13.  
  14. typedef struct {        // how shortcuts are saved in a resource
  15.     long offset, newval;
  16.     int datasize;
  17.     Str255 title, comment;
  18. } shortcut;
  19.  
  20. extern preftype prefs;
  21. extern char scratch[257];
  22. extern int gvalsize, ghowfind, shouldclearup;
  23. extern Ptr *gposs;
  24. extern long gcurposs, gmaxposs, gnumcuts;
  25. extern shortcut **cut;
  26. extern int timeToQuit;